//
//  SYBaseView.m
//  TermOfSectionB
//
//  Created by 韩震明 on 15/11/28.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "SYBaseTableView.h"

@implementation SYBaseTableView

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style superView:(UIView *)superView delegate:(id)delegate rowHeight:(NSInteger)rowHeight separatorStyle:(BOOL)separatorStyle showsVerticalScrollIndicator:(BOOL)showsVerticalScrollIndicator showsHorizontalScrollIndicator:(BOOL)showsHorizontalScrollIndicator header:(UIView *)headerView
{
    self = [super initWithFrame:frame style:style];
    if (self) {
        [superView addSubview:self];
        self.delegate = delegate;
        self.dataSource = delegate;
        self.rowHeight = rowHeight;
        self.separatorStyle = separatorStyle;
        self.showsHorizontalScrollIndicator = showsHorizontalScrollIndicator;
        self.showsVerticalScrollIndicator = showsVerticalScrollIndicator;
        self.tableHeaderView = headerView;
    }
    return self;
}




@end
